﻿using BCDto.OA.WorkflowActive.WorkflowActivity;
using BCDto.Sim.Admin.Admin;
using BCDto.TMS.Agent.AgentBusiness;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCService.Sim.Agent.Agent
{
    /// <summary>
    /// 代理商相关业务
    /// </summary>
    public interface IAgentBusinessService
    {
        /// <summary>
        /// 申请开设下级代理
        /// </summary>
        /// <param name="adminDto">员工信息</param>
        /// <param name="requestDto">代理商开设业务信息</param>
        WorkflowActivityDto ApplicationOpenChildAgent(AdminDto adminDto,AgentBusinessRequestDto requestDto);

        /// <summary>
        /// 修改代理商信息
        /// </summary>
        /// <param name="admin">员工信息</param>
        /// <param name="modifyDto">代理商信息修改模型</param>
        /// <returns></returns>
        WorkflowActivityDto ApplicationModifWyAgentInfo(AdminDto admin, AgentBusinessModifyDto modifyDto);
    }
}
